package com.by.shop.order.service.impl;

import com.by.shop.common.entity.Order;
import com.by.shop.order.dao.OrderDao;
import com.by.shop.order.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    private OrderDao orderDao;
    @Override
    public Order save(Order order) {
        return orderDao.save(order);
    }
}
